<?php
/**
 * Created by PhpStrom
 * User: 魏惠东
 * Date: 2021/6/18 09:30
 * Desc:
 */

namespace App\Models\Admin;
use App\Models\BaseModel;

class Member extends BaseModel{
    protected $table = "user";
    protected $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s'
    ];

    protected $fillable=[
        "medium_avatar",
        "username",
        "email",
        "mobile",
        "org_code",
        "post_id",
        "password",
        "created_ip",
        "org_id",
        "salt",
        "site_id",
        "nickname",
        "is_locked"
    ];
    protected $declares = [
        "openid" => ["openid", "="],
    ];

}
